package com.lry.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class VoteResponse implements Serializable {

    //当前任期号，以便于候选人去更新自己的任期号
    private long term;

    //候选人赢得了此张选票时为真
    private boolean voteGranted;
}
